import request from '@/tools/request'

export function getAuthCode(){  //图像验证码
	return request.get("/captchaImage");
}
export function getCode(params){  //短信验证码
	return request.post("/sendSmsCode", params);
}
export function postLogin(params){  //短信验证码
	return request.post("/smsLogin", params);
}
export function zhicheng(params){  //职称列表
	return request.get(`/system/dict/data/type/${params}`);
}

export function userInfoPost(params){  
	return request.put(`/business/userInfo/replenishUserInfo`,params);
}
export function getDepList(){  
	return request.get(`/business/userInfo/getUserDeptInfo`);
}
export function getInfo(){  
	return request.get(`/getInfo`);
}

// export function userInfoPut(params){  //短信验证码
// 	return request.get(`/system/dict/data/type/${params}`);
// }
///business/userInfo/replenishUserInfo


